Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Print exception message when there is a stream_open error.
Browse files Browse the repository at this point in the history
  • Loading branch information
cdujeu committed May 17, 2014
1 parent 0552dfd commit d065bd7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/plugins/access.fs/class.fsAccessWrapper.php
Expand Up @@ -265,7 +265,7 @@ public function stream_open($path, $mode, $options, &$context)
try {
$this->realPath = AJXP_Utils::securePath(self::initPath($path, "file"));
} catch (Exception $e) {
AJXP_Logger::error(__CLASS__,"stream_open", "Error while opening stream $path");
AJXP_Logger::error(__CLASS__,"stream_open", "Error while opening stream $path (".$e->getMessage().")");
return false;
}
if ($this->realPath == -1) {
Expand Down

0 comments on commit d065bd7

Please sign in to comment.