<commit_before>package com.stablekernel.standardlib;

import android.content.Context;
import android.support.annotation.NonNull;
import android.widget.Toast;

public class ErrorHandler {
    public static void handleError(Context context, Throwable e) {
        ErrorHandler.handleError(context, e.getLocalizedMessage(), e);
    }

    public static void handleError(Context context, @NonNull String message, Throwable e) {
        Log.e(context.getClass().getSimpleName(), e.getLocalizedMessage(), e);
        if (BuildConfig.DEBUG ) {
           Toast.makeText(context, message, Toast.LENGTH_LONG).show();
        }
    }
}<commit_msg>Reverted Erroe Handling functionality<commit_after>package com.stablekernel.standardlib;

import android.content.Context;
import android.support.annotation.NonNull;
import android.widget.Toast;

public class ErrorHandler {
    public static void handleError(Context context, Throwable e) {
        ErrorHandler.handleError(context, null, e);
    }

    public static void handleError(Context context, String message, Throwable e) {
        Log.e(context.getClass().getSimpleName(), e.getLocalizedMessage(), e);
        if (BuildConfig.DEBUG || message != null) {
           Toast.makeText(context, message, Toast.LENGTH_LONG).show();
        }
    }
}
{'fraction_non_alphanumeric': 0.10714285714285714, 'fraction_numerical': 0.0, 'mean_word_length': 3.9386973180076628, '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': '13530', 'n_tokens_mistral': 353, 'n_tokens_neox': 352, 'n_words': 82}