From 93624bf0c3d3ac51f71f102d8857f29e6fc1be3a Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Mon, 29 Feb 2016 21:49:42 +0100 Subject: [PATCH] Add a note regarding error codes --- README.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/README.md b/README.md index caa9afa..10d6bdb 100644 --- a/README.md +++ b/README.md @@ -18,6 +18,8 @@ Create your module in [modules/expansion/](modules/expansion/). The module shoul * **introspection** function that returns an array of the supported attributes by your expansion module. * **handler** function which accepts a JSON document to expand the values and return a dictionary of the expanded values. +Don't forget to return an error key and value if an error is raised to propagate it to the MISP user-interface. + ## Testing your modules? MISP uses the **modules** function to discover the available MISP modules and their supported MISP attributes: