Merge branch 'MDL-58374-master-ltierrorlog' of git://github.com/mudrd8mz/moodle

This commit is contained in:
Dan Poltawski 2017-04-18 16:46:12 +01:00
commit c7b7d67295

View File

@ -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;
}