Skip to content

Commit 3195765

Browse files
demarcate error code vs message
Signed-off-by: varun-edachali-dbx <varun.edachali@databricks.com>
1 parent 6a4faed commit 3195765

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/databricks/sql/backend/sea/backend.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -413,7 +413,7 @@ def _check_command_not_in_failed_or_closed_state(
413413
error_code = error.error_code if error else "UNKNOWN_ERROR_CODE"
414414
error_message = error.message if error else "UNKNOWN_ERROR_MESSAGE"
415415
raise ServerOperationError(
416-
"Command failed: {} {}".format(error_code, error_message),
416+
"Command failed: {} - {}".format(error_code, error_message),
417417
{
418418
"operation-id": command_id,
419419
},

0 commit comments

Comments
 (0)