Skip to content

Commit

Permalink
feat: error handling
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuheiKubota committed Apr 16, 2024
1 parent 8a63713 commit 3b6bee0
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions k7jis.ahk
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,8 @@
#Requires AutoHotkey v2.0
#SingleInstance Force

OnError MyErrorcallback

appName := "K7 JIS"

DirCreate "icon"
Expand Down Expand Up @@ -163,3 +165,9 @@ onTimer()
Reload
}
}

MyErrorcallback(Thrown, Mode)
{
Reload
return 1
}

0 comments on commit 3b6bee0

Please sign in to comment.