updated grapher

fixed issue where grapher would fail with functions due to some negative values being undefined
This commit is contained in:
FantasyPvP
2023-10-03 23:26:47 +01:00
parent e92e01c5b8
commit f5cc41c132
2 changed files with 53 additions and 23 deletions
+6 -1
View File
@@ -58,7 +58,12 @@ pub async fn eventloop() {
}
fn handle_error(e: Error) {
println!("there was an error! exiting program!");
if let Error::ApplicationError(s) = e {
println!("there was an error! exiting program!: {}", s);
} else {
println!("there was an error! exiting program!");
}
}
async fn exec() -> Result<(), Error> {