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

closes #1