<commit_before>﻿namespace Mandolin.Runners
{
    using NUnit.ConsoleRunner;

    public class NUnitConsoleFacade
        : INUnitConsoleFacade
    {
        public int Run(string[] args)
        {
            return Runner.Main(args);
        }
    }
}<commit_msg>try to not completely explode if Runner.Main throws exceptions<commit_after>﻿namespace Mandolin.Runners
{
    using System;
    using NUnit.ConsoleRunner;

    public class NUnitConsoleFacade
        : INUnitConsoleFacade
    {
        public int Run(string[] args)
        {
            try
            {
                return Runner.Main(args);
            }
            catch (Exception ex)
            {
                Console.WriteLine("Crashed when running tests: " + Environment.NewLine + ex);
                return -1;
            }
        }
    }
}
{'fraction_non_alphanumeric': 0.07757575757575758, 'fraction_numerical': 0.0012121212121212121, 'mean_word_length': 1.6305732484076434, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, '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': '121647', 'n_tokens_mistral': 226, 'n_tokens_neox': 219, 'n_words': 50}