Skip to content

Commit 4e9ef10

Browse files
Make exception string greppable
1 parent ab35f4b commit 4e9ef10

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

Modules/_sqlite/connection.c

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1361,8 +1361,7 @@ trace_callback(void *ctx, const char *sql)
13611361
}
13621362

13631363
PyErr_SetString(state->DataError,
1364-
"Expanded SQL string exceeds the maximum string "
1365-
"length");
1364+
"Expanded SQL string exceeds the maximum string length");
13661365
print_or_clear_traceback((callback_context *)ctx);
13671366

13681367
// Fall back to unexpanded sql

0 commit comments

Comments
 (0)