We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e83ef9a commit 03550b8Copy full SHA for 03550b8
funcs/logger.gd
@@ -471,7 +471,7 @@ class LogRecordFormatter:
471
var stack: Array[Dictionary] = p_log_record["stack"]
472
for frame in stack:
473
var source: String = frame["source"]
474
- var line: String = frame["line"]
+ var line: int = frame["line"]
475
var function: String = frame["function"]
476
formatted_message += "\n\tAt: %s:%d:%s()" % [
477
source,
@@ -696,5 +696,5 @@ const ERROR_MESSAGES = {
696
697
static func format_error(p_error: int) -> String:
698
if ERROR_MESSAGES.has(p_error):
699
- return ERROR_MESSAGES[error]
+ return ERROR_MESSAGES[p_error]
700
return "Unknown p_error (%d)." % p_error
0 commit comments