truncate task_line_contents so it does not explode on the db interaction
This commit is contained in:
parent
b6e8a8f3ec
commit
efd3d1e766
|
@ -634,7 +634,7 @@ class TaskService:
|
||||||
isinstance(exception, ApiError) and exception.error_code == "task_error"
|
isinstance(exception, ApiError) and exception.error_code == "task_error"
|
||||||
):
|
):
|
||||||
task_line_number = exception.line_number
|
task_line_number = exception.line_number
|
||||||
task_line_contents = exception.error_line
|
task_line_contents = exception.error_line[0:255]
|
||||||
task_trace = exception.task_trace
|
task_trace = exception.task_trace
|
||||||
task_offset = exception.offset
|
task_offset = exception.offset
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue