Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Improve error handling #19

Merged
merged 11 commits into from
Jul 9, 2024
Merged

Improve error handling #19

merged 11 commits into from
Jul 9, 2024

Commits on Jul 9, 2024

  1. Add subroutine CLDJ_ERROR and reformat and simplify cldj_error_mod

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    ad279cb View commit details
    Browse the repository at this point in the history
  2. Add location string to subroutines and pass to EXITC

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    01d3cfe View commit details
    Browse the repository at this point in the history
  3. Declare implicit none only once per module

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    fdd4579 View commit details
    Browse the repository at this point in the history
  4. Initialize all outputs in cldj_fjx_sub_mod and cldj_sub_mod for safety

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    2ce194a View commit details
    Browse the repository at this point in the history
  5. Remove EXITC and replace with calls to CLOUDJ_ERROR

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    0c384c1 View commit details
    Browse the repository at this point in the history
  6. Pass integer RC throughout Cloud-j for error handling

    RC is now passed back to parent model.
    
    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    209823c View commit details
    Browse the repository at this point in the history
  7. Updated changelog

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    05a10f0 View commit details
    Browse the repository at this point in the history
  8. Fix implementation of error handling in models that use MAPL

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    5707076 View commit details
    Browse the repository at this point in the history
  9. Catch bad return codes and pass up the stack with error messages

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    a993832 View commit details
    Browse the repository at this point in the history
  10. Stop Cloud-J standalone if return code is failure

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    f86d9de View commit details
    Browse the repository at this point in the history
  11. Remove redundant initialization of local variable

    Signed-off-by: Lizzie Lundgren <elundgren@seas.harvard.edu>
    lizziel committed Jul 9, 2024
    Configuration menu
    Copy the full SHA
    0af1e9d View commit details
    Browse the repository at this point in the history