diff --git a/shell/i.cpp b/shell/i.cpp index f97af63..4355157 100644 --- a/shell/i.cpp +++ b/shell/i.cpp @@ -6,6 +6,7 @@ #include #include +#include //--- // ic @@ -175,14 +176,17 @@ void _isc(Session &session, std::string vspace_name, bool sort, if(!vspace_name.empty()) space = session.get_space(vspace_name); - if(!space) - throw CommandError("virtual space '{}' does not exist", vspace_name); + if(!space) { + FxOS_log(ERR, "virtual space '%s' does not exist", vspace_name); + return; + } OS *os = space->os_analysis(); if(!os) { if(!vspace_name.empty()) - throw CommandError("OS analysis on '{}' failed", vspace_name); - throw CommandError("OS analysis failed"); + FxOS_log(ERR, "OS analysis on '%s' failed", vspace_name); + FxOS_log(ERR, "OS analysis failed"); + return; } int total = os->syscall_count();