Skip to content

More informative error state when pages are not found

Alex Kalderimis requested to merge update-page-check-page into master

Some operations assume that finds are successful. This results in very unhelpful error messages (NoMethodError on NilClass). This change means that such operations throw instead, with an error message that names the page that could not be found.

I encountered this when testing wiki actions, so I took the liberty of implementing the fix I needed.

Merge request reports