Skip to content

Commit

Permalink
Ignore weird parse error
Browse files Browse the repository at this point in the history
[skip cd]
  • Loading branch information
tulir committed Feb 13, 2024
1 parent 76cdc07 commit e777c45
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion messagix/js_module_parser.go
Original file line number Diff line number Diff line change
Expand Up @@ -151,7 +151,9 @@ func (m *ModuleParser) Load(page string) error {
err = sharedData.ParseRaw()
if err != nil {
m.client.Logger.Debug().Str("raw_data", sharedData.Raw).Msg("Errored raw XIGSharedData")
return fmt.Errorf("messagix-moduleparser: failed to parse XIGSharedData raw string into *types.XIGConfigData (%v)", err)
if !authenticated {
return fmt.Errorf("messagix-moduleparser: failed to parse XIGSharedData raw string into *types.XIGConfigData (%v)", err)
}
}
m.client.Logger.Debug().Any("authenticated", authenticated).Msg("Instagram Authentication Status")
if !authenticated {
Expand Down

0 comments on commit e777c45

Please sign in to comment.