Browse Source

Added support for unknown errors

master
Ludovic 'Archivist' Lagouardette 1 year ago
parent
commit
4cdde29ded
1 changed files with 3 additions and 0 deletions
  1. +3
    -0
      src/main.cpp

+ 3
- 0
src/main.cpp View File

@ -187,5 +187,8 @@ int main(int argc, char** argv) {
} catch (molasses::build_system_error& error) { } catch (molasses::build_system_error& error) {
std::cerr << "BUILD SYSTEM ERROR:\n\t" << error.what(); std::cerr << "BUILD SYSTEM ERROR:\n\t" << error.what();
return 1; return 1;
} catch (...) {
std::cerr << "ERREUR INCONNUE\n";
return 1;
} }
} }

Loading…
Cancel
Save