Skip to content

Commit

Permalink
Use error type code as exit code
Browse files Browse the repository at this point in the history
  • Loading branch information
oblivioncth committed Oct 19, 2023
1 parent 5dc5c3a commit 6964b13
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/src/kernel/core.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -756,7 +756,7 @@ ErrorCode Core::logFinish(QString src, Qx::Error errorState)
if(mCriticalErrorOccurred)
logEvent(src, LOG_ERR_CRITICAL);

ErrorCode code = errorState.code();
ErrorCode code = errorState.typeCode();

Qx::IoOpReport logReport = mLogger->finish(code);
if(logReport.isFailure())
Expand Down

0 comments on commit 6964b13

Please sign in to comment.