Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions lib/private/Snowflake/FileSequence.php
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ public function __construct(
private function ensureWorkdirExists(): void {
if (is_dir($this->workDir)) {
if (!is_writable($this->workDir)) {
throw new \Exception('File sequence directory exists but is not writable');
throw new \Exception('File sequence directory exists but is not writable at: ' . $this->workDir);
}
return;
}
Expand All @@ -64,7 +64,7 @@ private function ensureWorkdirExists(): void {
return;
}

throw new \Exception('Fail to create file sequence directory');
throw new \Exception('Failed to create file sequence directory at: ' . $this->workDir);
}

#[Override]
Expand Down
Loading