add missing error logging

This commit is contained in:
Daniel Micay 2020-04-11 12:28:21 -04:00
parent 062d466be4
commit d6308c409a
1 changed files with 1 additions and 0 deletions

View File

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