Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
tianlh
LightGBM-DCU
Commits
9f69165b
Commit
9f69165b
authored
Mar 13, 2017
by
Guolin Ke
Browse files
format error message.
parent
3f14f33c
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
1 deletion
+2
-1
include/LightGBM/utils/log.h
include/LightGBM/utils/log.h
+2
-1
No files found.
include/LightGBM/utils/log.h
View file @
9f69165b
...
@@ -77,7 +77,8 @@ public:
...
@@ -77,7 +77,8 @@ public:
vsprintf
(
str_buf
,
format
,
val
);
vsprintf
(
str_buf
,
format
,
val
);
#endif
#endif
va_end
(
val
);
va_end
(
val
);
fprintf
(
stderr
,
str_buf
);
fprintf
(
stderr
,
"[LightGBM] [Fatal] %s
\n
"
,
str_buf
);
fflush
(
stderr
);
if
(
UseException
())
{
if
(
UseException
())
{
throw
std
::
runtime_error
(
std
::
string
(
str_buf
));
throw
std
::
runtime_error
(
std
::
string
(
str_buf
));
}
else
{
}
else
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment