Skip to content

Commit b04e070

Browse files
committed
[misc] correct error label
1 parent 3175ad5 commit b04e070

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

lib/misc/errors.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// SPDX-License-Identifier: LGPL-2.1-or-later
2-
// Copyright (c) 2015-2023 MariaDB Corporation Ab
2+
// Copyright (c) 2015-2025 MariaDB Corporation Ab
33

44
'use strict';
55
const ErrorCodes = require('../const/error-code');
@@ -8,7 +8,7 @@ class SqlError extends Error {
88
constructor(msg, sql, fatal, info, sqlState, errno, additionalStack, addHeader = undefined) {
99
super(
1010
(addHeader === undefined || addHeader
11-
? `(conn=${info ? (info.threadId ? info.threadId : -1) : -1}, no: ${errno ? errno : -1}, SQLState: ${
11+
? `(conn:${info ? (info.threadId ? info.threadId : -1) : -1}, no: ${errno ? errno : -1}, SQLState: ${
1212
sqlState ? sqlState : 'HY000'
1313
}) `
1414
: '') +

0 commit comments

Comments
 (0)