Print errors, then filter for deprecation warnings before failing