<commit_before><?php

  error_reporting(E_ALL);

  require 'settings.php';

  require 'lib/onelogin/saml.php';

  $samlresponse = new SamlResponse(saml_get_settings(), $_POST['SAMLResponse']);

  $valid = false;

  try {
    if ($samlresponse->is_valid())
      echo "You are: ".$samlresponse->get_nameid();
    else
      echo "Invalid SAML response.";
  }
  catch e {
    echo "Invalid SAML response: " . e.getMessage();
  }

?><commit_msg>Actually test the try...catch block this time.<commit_after><?php

  error_reporting(E_ALL);

  require 'settings.php';

  require 'lib/onelogin/saml.php';

  $samlresponse = new SamlResponse(saml_get_settings(), $_POST['SAMLResponse']);

  $valid = false;

  try {
    if ($samlresponse->is_valid())
      echo "You are: ".$samlresponse->get_nameid();
    else
      echo "Invalid SAML response.";
  }
  catch (Exception $e) {
    echo "Invalid SAML response: " . $e->getMessage();
  }

?>
{'fraction_non_alphanumeric': 0.157725321888412, 'fraction_numerical': 0.0, 'mean_word_length': 3.485576923076923, 'pattern_counts': {'":': 0, '<': 5, '<?xml version=': 0, '>': 10, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3890162', 'n_tokens_mistral': 335, 'n_tokens_neox': 317, 'n_words': 69}