~jstys-z/helioviewer.org/client5

« back to all changes in this revision

Viewing changes to api/src/Module/JHelioviewer.php

  • Committer: Keith Hughitt
  • Date: 2010-08-25 18:39:52 UTC
  • mto: This revision was merged to the branch mainline in revision 525.
  • Revision ID: hughitt1@kore-20100825183952-vc2bjsw80kmh1h5v
Dynamo error-handling overhauled: Individual log files created for each error incident (except in the cases of expected errors). Run-time errors all return JSON "error" field. Both high-level and low-level description of movie related errors included.

Show diffs side-by-side

added added

removed removed

Lines of Context:
56
56
            try {
57
57
                $this->{$this->_params['action']}();
58
58
            } catch (Exception $e) {
59
 
                printErrorMsg($e->getMessage(), false);
 
59
                handleError($e->getMessage(), $e->getCode());
60
60
            }
61
61
        }
62
62
    }