kasperisager/vanilla-api

Feature request: Add $class details to 404 in class.apiengine.php

Closed this issue · 1 comments

Changing
throw new Exception(t('API.Error.Class.Invalid'), 404);
to something like
throw new Exception(t('API.Error.Class.Invalid: ' . $class . ''), 404);

Would provide better debugging info.