Changeset 703:df10e569b029


Ignore:
Timestamp:
10/25/15 08:37:20 (9 years ago)
Author:
István Váradi <ivaradi@…>
Branch:
cef
Phase:
public
Message:

The getting of the XML link is also protected by an exception handler (re #279).

File:
1 edited

Legend:

Unmodified
Added
Removed
  • src/mlx/gui/cef.py

    r702 r703  
    194194
    195195        integrator = MavaSimbriefIntegrator(plan = plan, driver = driver)
    196         link = integrator.get_xml_link(getCredentials, updateProgress,
    197                                        local_xml_debug = False,
    198                                        local_html_debug = False)
     196        link = None
     197        try:
     198            link = integrator.get_xml_link(getCredentials, updateProgress,
     199                                           local_xml_debug = False,
     200                                           local_html_debug = False)
     201        except Exception, e:
     202            print "Failed to initiate the generation of the briefing:", e
     203            updateProgress(SIMBRIEF_PROGRESS_RETRIEVING_BRIEFING,
     204                           SIMBRIEF_RESULT_ERROR_OTHER, None)
    199205
    200206        if link is not None:
Note: See TracChangeset for help on using the changeset viewer.