Upload image_generator_tool.py

#6
Files changed (1) hide show
  1. image_generator_tool.py +1 -1
image_generator_tool.py CHANGED
@@ -71,4 +71,4 @@ class GenerateImageTool(BaseTool):
71
  except FileNotFoundError:
72
  return f"Error: The template file '{template_path}' was not found."
73
  except Exception as e:
74
- return f"An error occurred: {e[:1000]}"
 
71
  except FileNotFoundError:
72
  return f"Error: The template file '{template_path}' was not found."
73
  except Exception as e:
74
+ return f"An error occurred: {e}"