code: def exc_message(e):
      """
      In python 3.x, when an exception is reraised it saves original
      exception in its args, therefore in order to find the actual
      message, we need to unpack arguments recursively.
      """
      msg = e.args[0]
      if isinstance(msg, Exception):
          return exc_message(msg)
      return msg
  
imports: import hashlib
  import logging
  import os
  import struct
  import subprocess
  import sys
  from collections import OrderedDict
  from collections.abc import Callable
  from functools import partial
label_desc: Use image node_id 3 for calling a global function with example usage: exc_message(e) and returns: msg, exc_message