Skip to content

Commit

Permalink
Output informational error messages
Browse files Browse the repository at this point in the history
Fixes #5318

This outputs informational messages during ShowMessage() function call
to sqlite. Now the whole error file is replicated in the sqlite Errors
table. This address #5318 since “Output:PreprocessorMessage”
informational messages call ShowMessage().
  • Loading branch information
mbadams5 committed Mar 16, 2017
1 parent db28450 commit 29c3ff4
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/EnergyPlus/UtilityRoutines.cc
Expand Up @@ -1150,6 +1150,9 @@ ShowMessage(
ShowErrorMessage( " *************", OutUnit1, OutUnit2 );
} else {
ShowErrorMessage( " ************* " + Message, OutUnit1, OutUnit2 );
if ( sqlite ) {
sqlite->createSQLiteErrorRecord( 1, -1, Message, 0 );
}
}

}
Expand Down

8 comments on commit 29c3ff4

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - x86_64-Linux-Ubuntu-14.04-cppcheck-1.61: OK (0 of 0 tests passed, 0 test warnings)

Build Badge

@nrel-bot-3
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - x86_64-MacOS-10.9-clang: OK (2479 of 2479 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-UnitTestsCoverage-Debug: OK (1285 of 1285 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - x86_64-Linux-Ubuntu-14.04-gcc-4.8-IntegrationCoverage-Debug: OK (1886 of 1886 tests passed, 0 test warnings)

Build Badge Test Badge Coverage Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - x86_64-Linux-Ubuntu-14.04-custom_check: OK (0 of 0 tests passed, 0 test warnings)

Build Badge

@nrel-bot-2
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - x86_64-Linux-Ubuntu-14.04-gcc-4.8: OK (2519 of 2519 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - i386-Windows-7-VisualStudio-14: OK (2485 of 2485 tests passed, 0 test warnings)

Build Badge Test Badge

@nrel-bot
Copy link

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

fix_5318 (mbadams5) - Win64-Windows-7-VisualStudio-14: OK (2485 of 2485 tests passed, 0 test warnings)

Build Badge Test Badge

Please sign in to comment.