sisoe24 / nukeserversocket

Exception caught is very general PYL-W0703
Anti-pattern
Major
4 months ago3 years old
Catching too general exception Exception
36            self.data = json.loads(self.raw)
37            self.data.setdefault('file', '')
38            self.data.setdefault('formatText', '1')
39        except Exception as e:40            LOGGER.error(
41                f'Nukeserversocket: An exception occurred while decoding the data. {e}'
42            )
Catching too general exception Exception
36            self.data = json.loads(self.raw)
37            self.data.setdefault('file', '')
38            self.data.setdefault('formatText', '1')
39        except Exception as e:40            LOGGER.error(
41                f'Nukeserversocket: An exception occurred while decoding the data. {e}'
42            )
Catching too general exception Exception
36            self.data = json.loads(self.raw)
37            self.data.setdefault('file', '')
38            self.data.setdefault('formatText', '1')
39        except Exception as e:40            LOGGER.error(
41                f'Nukeserversocket: An exception occurred while decoding the data. {e}'
42            )