summaryrefslogtreecommitdiff
path: root/core/io
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:37:19 +0200
committerRémi Verschelde <rverschelde@gmail.com>2022-10-05 08:37:19 +0200
commit53403972efc37ad84640276d113db2ccdc4a892a (patch)
tree4862e43ecc3612566243927b7ae15a789aa12850 /core/io
parent4bf31990007717fb9e2bffcc882d48274f23916c (diff)
parentac3917c42f23d3b194afd54c2276e7a20bed5be7 (diff)
Merge pull request #66886 from akien-mga/error-print-cleanup
Logger: Don't print error twice on `ERR_PRINT`
Diffstat (limited to 'core/io')
-rw-r--r--core/io/logger.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/logger.cpp b/core/io/logger.cpp
index b0f74f8db5..288e53d075 100644
--- a/core/io/logger.cpp
+++ b/core/io/logger.cpp
@@ -87,7 +87,7 @@ void Logger::log_error(const char *p_function, const char *p_file, int p_line, c
} else {
logf_error("USER %s: %s\n", err_type, err_details);
}
- logf_error(" at: %s (%s:%i) - %s\n", p_function, p_file, p_line, p_code);
+ logf_error(" at: %s (%s:%i)\n", p_function, p_file, p_line);
}
void Logger::logf(const char *p_format, ...) {