HHH-8231 - Pass along IOException as cause when trying to open script outputs
This commit is contained in:
parent
8c95a6077a
commit
0ff155d065
|
@ -189,7 +189,7 @@ class GenerationTargetToScript implements GenerationTarget {
|
|||
return new FileWriter( file );
|
||||
}
|
||||
catch (IOException e) {
|
||||
throw new PersistenceException( "Unable to open specified script target file for writing : " + fileUrl );
|
||||
throw new PersistenceException( "Unable to open specified script target file for writing : " + fileUrl, e );
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue