mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-05-16 14:16:09 -06:00
15 lines
220 B
C++
15 lines
220 B
C++
#include <Core/Core.h>
|
|
|
|
using namespace Upp;
|
|
|
|
CONSOLE_APP_MAIN
|
|
{
|
|
StdLogSetup(LOG_COUT|LOG_FILE);
|
|
|
|
try {
|
|
CoDo([] { throw "Worker exception"; });
|
|
}
|
|
catch(const char *s) {
|
|
LOG("Caught: " << s);
|
|
}
|
|
}
|