Removed exception stack traces when attempting to get version info that doesn't exist.

This commit is contained in:
Robinson 2021-03-25 23:39:28 +01:00
parent 3b36203df7
commit 41c00747df

View File

@ -923,8 +923,7 @@ class OSUtil {
return getPlasmaVersionFull; return getPlasmaVersionFull;
} }
} }
} catch (Throwable e) { } catch (Throwable ignored) {
e.printStackTrace();
} }
return null; return null;
@ -995,8 +994,7 @@ class OSUtil {
return true; return true;
} }
} }
} catch (Throwable e) { } catch (Throwable ignored) {
e.printStackTrace();
} }
isNautilus = false; isNautilus = false;
@ -1024,8 +1022,7 @@ class OSUtil {
return true; return true;
} }
} }
} catch (Throwable e) { } catch (Throwable ignored) {
e.printStackTrace();
} }
} }
@ -1065,8 +1062,7 @@ class OSUtil {
} }
return Executor.Companion.run(commands); return Executor.Companion.run(commands);
} catch (Throwable e) { } catch (Throwable ignored) {
e.printStackTrace();
} }
return ""; return "";