Closed incognico closed 11 months ago
https://github.com/vsTerminus/Mojo-Discord/blob/114f879f216ca8670da836914bffb3bef755fbae/lib/Mojo/Discord/Gateway.pm#L946
Sometimes $sson is undef, I don't know why this happens but it does very rarely. I 'fixed' it by changing the line to if ( defined $json && ref $json ne 'ARRAY' )
if ( defined $json && ref $json ne 'ARRAY' )
https://github.com/vsTerminus/Mojo-Discord/blob/114f879f216ca8670da836914bffb3bef755fbae/lib/Mojo/Discord/Gateway.pm#L946
Sometimes $sson is undef, I don't know why this happens but it does very rarely. I 'fixed' it by changing the line to
if ( defined $json && ref $json ne 'ARRAY' )