diff --git a/VERSION b/VERSION index 1a0e369..af847dd 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -v1.2.0 +v1.2.1 diff --git a/comfortable-swipe-main.cpp b/comfortable-swipe-main.cpp index d7e8e82..9c75d36 100644 --- a/comfortable-swipe-main.cpp +++ b/comfortable-swipe-main.cpp @@ -92,7 +92,7 @@ int main(int argc, char *argv[]) { float threshold = 0.0f; try { threshold = stof(config["threshold"]); - } catch (std::invalid_argument) { + } catch (...) { } // create swipe handler gesture_swipe_xdokey keyswipe(commands, threshold);