handle error of app resource
Merge pull request #4 from qckanemoto/handle-app-resource-error

[closes #1] handling error from app resource in page resource