diff --git a/modules/consent/lib/Auth/Process/Consent.php b/modules/consent/lib/Auth/Process/Consent.php
index a09aea579719676be1f6b876ea03d5285ad336fb..820b78fb8960935c8dee53d2529a02773a4a611f 100644
--- a/modules/consent/lib/Auth/Process/Consent.php
+++ b/modules/consent/lib/Auth/Process/Consent.php
@@ -182,7 +182,7 @@ class sspmod_consent_Auth_Process_Consent extends SimpleSAML_Auth_ProcessingFilt
 
 		/* User interaction nessesary. Throw exception on isPassive request */	
 		if (isset($state['isPassive']) && $state['isPassive'] == TRUE) {
-			throw new SimpleSAML_Error_NoPassive('noPassive');
+			throw new SimpleSAML_Error_NoPassive('Unable to give consent on passive request.');
 		}
 
 		/* Save state and redirect. */