Page MenuHomeDevCentral

When a workspace doesn't exist as directory in assets, throw an error message with instructions
Closed, ResolvedPublic

Description

Currently, a PHP error message is thrown when a workspace directory doesn't exist.

Instead, we should give instructions about how to setup this directory.

Event Timeline

dereckson claimed this task.
dereckson raised the priority of this task from to Normal.
dereckson updated the task description. (Show Details)
dereckson added a project: Obsidian Workspaces.
dereckson moved this task to Backlog on the Obsidian Workspaces board.
dereckson added a subscriber: dereckson.

Fatal error:

Uncaught exception 'Exception' with message 'Workspace configuration file doesn't exist' in /usr/home/dereckson/dev/obsidian/repo/includes/workspaces/Workspace.php:157

Stack trace:

#0 /usr/home/dereckson/dev/obsidian/repo/index.php(42): Workspace->loadConfiguration(Object(Context))
#1 {main}
  thrown in /usr/home/dereckson/dev/obsidian/repo/includes/workspaces/Workspace.php on line 157