Improve error message when failing to create a new layer: if the exception has a cause, show the cause message instead of the generic 'Cannot initialize driver' message