you can just pass e to this and it'll log the exception