optional stack trace support
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
All checks were successful
BlockStorage/repertory/pipeline/head This commit looks good
This commit is contained in:
@ -19,7 +19,9 @@
|
||||
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
||||
SOFTWARE.
|
||||
*/
|
||||
#if !defined(PROJECT_STATIC_LINK)
|
||||
#include "cpptrace/cpptrace.hpp"
|
||||
#endif
|
||||
|
||||
#include "cli/actions.hpp"
|
||||
#include "initialize.hpp"
|
||||
@ -30,7 +32,10 @@
|
||||
using namespace repertory;
|
||||
|
||||
auto main(int argc, char **argv) -> int {
|
||||
#if !defined(PROJECT_STATIC_LINK)
|
||||
cpptrace::register_terminate_handler();
|
||||
#endif
|
||||
|
||||
if (not repertory::project_initialize()) {
|
||||
return -1;
|
||||
}
|
||||
@ -114,8 +119,6 @@ auto main(int argc, char **argv) -> int {
|
||||
}
|
||||
}
|
||||
|
||||
throw std::runtime_error("test");
|
||||
|
||||
int mount_result{};
|
||||
if (res == exit_code::success) {
|
||||
if (utils::cli::has_option(args, utils::cli::options::help_option)) {
|
||||
|
Reference in New Issue
Block a user