Error handler for wallet handler
Now support configuration file as argument (useful for multiple configurations/instances