add missing error logging
This commit is contained in:
parent
062d466be4
commit
d6308c409a
@ -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");
|
||||||
|
Loading…
Reference in New Issue
Block a user