Ticket Created
over 3 years ago

CIQQA-923

Montana 7xx Crash in createSession()

We've received reports of an app crash on Montana 7xx (incidentally, using Russian language) when calling createSession:

try {
    session = ActivityRecording.createSession({:sport=>sport, :subSport=>subSport, :name=>name});
} catch(e) {
    sport = 0;
    subSport = 0;
    session = ActivityRecording.createSession({:sport=>sport, :subSport=>subSport, :name=>name});
}

The crash is occurring on what's listed here as line 2, and there are two concerns:

  1. Why is the crash occurring here?
  2. Should the error be handled by the try-catch?
Parents
  • Just looking at the API docs, an exception will not be thrown by createSession() unless, "required options are missing or provided options are invalid in :autoLap options dictionary." I don't think either of these conditions are present in this case.

Comment
  • Just looking at the API docs, an exception will not be thrown by createSession() unless, "required options are missing or provided options are invalid in :autoLap options dictionary." I don't think either of these conditions are present in this case.

Children
No Data