command/all: catch all exceptions
This commit is contained in:
		| @@ -415,7 +415,7 @@ try { | |||||||
| 		: CommandResult::ERROR; | 		: CommandResult::ERROR; | ||||||
|  |  | ||||||
| 	return ret; | 	return ret; | ||||||
| } catch (const std::exception &e) { | } catch (...) { | ||||||
| 	Response r(client, num); | 	Response r(client, num); | ||||||
| 	PrintError(r, std::current_exception()); | 	PrintError(r, std::current_exception()); | ||||||
| 	return CommandResult::ERROR; | 	return CommandResult::ERROR; | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user
	 Max Kellermann
					Max Kellermann