handle error better
handle error better

briehl/kbase-ui,eapearson/kbase-ui,briehl/kbase-ui,eapearson/kbase-ui,briehl/kbase-ui,eapearson/kbase-ui,eapearson/kbase-ui,kbase/kbase-ui,eapearson/kbase-ui,kbase/kbase-ui,kbase/kbase-ui,kbase/kbase-ui,kbase/kbase-ui