diff --git a/mod/lti/servicelib.php b/mod/lti/servicelib.php index 88ebdb1c49a..0dae3d0c6f6 100644 --- a/mod/lti/servicelib.php +++ b/mod/lti/servicelib.php @@ -250,6 +250,7 @@ function lti_verify_message($key, $sharedsecrets, $body, $headers = null) { // TODO: Switch to core oauthlib once implemented - MDL-30149. lti\handle_oauth_body_post($key, $secret, $body, $headers); } catch (Exception $e) { + debugging('LTI message verification failed: '.$e->getMessage()); $signaturefailed = true; }