--- rxvt-unicode/src/rxvt.C 2012/01/19 13:33:43 1.24 +++ rxvt-unicode/src/rxvt.C 2021/06/26 14:44:30 1.27 @@ -7,7 +7,7 @@ * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by - * the Free Software Foundation; either version 2 of the License, or + * the Free Software Foundation; either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, @@ -39,8 +39,9 @@ return EXIT_SUCCESS; } -catch (const class rxvt_failure_exception &e) +catch (const std::exception &e) { + fputs (e.what (), stderr); return EXIT_FAILURE; }