mirror of
https://github.com/sartography/spiff-arena.git
synced 2025-01-12 02:24:15 +00:00
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"
|
||||
):
|
||||
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_offset = exception.offset
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user