Unable to catch adLDAP Exception on Laravel 5.1? -


when exception while running below code, not return exception message loads laravel’s error handling page. i’m trying return exception error message.

            try {                 $adldap = new adldap(config::get('app.ldap'));             }             catch (adldapexception $e) {                 return $e;              } 

laravel handling exception

i encountered issue , discovered adldap 5.0.0 onwards requires use 'adldap\exceptions\adldapexception'.

rob ganly


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -