「🔨」 fix: fixed ex00
This commit is contained in:
@ -6,7 +6,7 @@
|
||||
/* By: adjoly <adjoly@student.42angouleme.fr> +#+ +:+ +#+ */
|
||||
/* +#+#+#+#+#+ +#+ */
|
||||
/* Created: 2025/05/21 10:34:50 by adjoly #+# #+# */
|
||||
/* Updated: 2025/06/30 10:52:15 by adjoly ### ########.fr */
|
||||
/* Updated: 2025/07/03 13:52:10 by adjoly ### ########.fr */
|
||||
/* */
|
||||
/* ************************************************************************** */
|
||||
|
||||
@ -23,7 +23,7 @@ int main(int ac, char **av) {
|
||||
try {
|
||||
btc = new BitcoinExchange(av[1]);
|
||||
btc->print();
|
||||
} catch (std::runtime_error &e) {
|
||||
} catch (std::exception &e) {
|
||||
btc = NULL;
|
||||
std::cout << e.what() << std::endl;
|
||||
}
|
||||
|
Reference in New Issue
Block a user