Register config instance before exception handler