[jcifs] "Could not delete file" log message

classic Classic list List threaded Threaded
3 messages Options
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

[jcifs] "Could not delete file" log message

dreske
This post was updated on .
Hallo,

is it possible to change the Line
DefaultSmbClient.java:189
LOGGER.error("Could not delete '{}' due to '{}'", e.getMessage(), e);
to
LOGGER.error("Could not delete '{}' due to '{}'", url, e);

because currently the message looks like this
"Could not delete 'The system cannot find the file specified.' due to 'jcifs.smb.SmbException: The system cannot find the file specified.'" which is not really helpfull.

Thanks
Dirk
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [jcifs] "Could not delete file" log message

Pontus Ullgren
I created CAMEX-62 for this issue and will have a look at it directly.

https://camel-extra.atlassian.net/browse/CAMEX-62
Reply | Threaded
Open this post in threaded view
|  
Report Content as Inappropriate

Re: [jcifs] "Could not delete file" log message

Pontus Ullgren
Patch commited. Thanks for your contribution.
Loading...