commit 9348e165dd2b91942038577a78878b0af4b9ef03
parent 4798a98ebda1628b2e4c374cd27b412ef225a28b
Author: Jake Bauer <jbauer@paritybit.ca>
Date: Tue, 7 May 2019 18:59:25 -0400
Merge branch 'master' of git.sr.ht:~jbauer/paritybit.ca
Diffstat:
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/public/js/roll.js b/public/js/roll.js
@@ -30,7 +30,8 @@ function stringRoll() {
die = rollString.match(/d\d+/ig)[0];
die = die.substring(1);
}
- catch {
+ catch(err) {
+ console.log(err);
alert("Invalid text input! See example for proper string format.");
return;
}