Replace exception by throwable, add an other default for debug purpose