launcher: better math error message

This commit is contained in:
2 * r + 2 * t 2025-01-14 19:24:50 +11:00
parent e8328bbb1c
commit ecf4916687

View file

@ -121,7 +121,7 @@ export default class Math extends GObject.Object {
icon = "calculate"; icon = "calculate";
} }
} catch (e) { } catch (e) {
equation = "Invalid equation"; equation = "Invalid equation: " + equation;
result = String(e); result = String(e);
icon = "error"; icon = "error";
} }