add missing error logging

This commit is contained in:
Daniel Micay 2020-04-11 12:28:21 -04:00
parent 062d466be4
commit d6308c409a

View File

@ -326,6 +326,7 @@ public class PdfViewer extends AppCompatActivity implements LoaderManager.Loader
} }
mInputStream = getContentResolver().openInputStream(mUri); mInputStream = getContentResolver().openInputStream(mUri);
} catch (IOException e) { } catch (IOException e) {
Log.e(TAG, "failed to open URI: " + mUri);
return; return;
} }
mWebView.loadUrl("https://localhost/viewer.html"); mWebView.loadUrl("https://localhost/viewer.html");