diff --git a/openquake/calculators/event_based.py b/openquake/calculators/event_based.py
index <HASH>..<HASH> 100644
--- a/openquake/calculators/event_based.py
+++ b/openquake/calculators/event_based.py
@@ -600,8 +600,11 @@ class EventBasedCalculator(ClassicalCalculator):
             # save individual curves
             if self.oqparam.individual_curves:
                 for i in sorted(result):
+                    key = 'hcurves/rlz-%03d' % i
                     if result[i]:
-                        self.datastore['hcurves/rlz-%03d' % i] = result[i]
+                        self.datastore[key] = result[i]
+                    else:
+                        logging.info('Zero curves for %s', key)
             # compute and save statistics; this is done in process
             # we don't need to parallelize, since event based calculations
             # involves a "small" number of sites (<= 65,536)
Added a warning for zero hazard curves


Former-commit-id: fe<I>d<I>ef<I>c4b<I>b<I>defdcc<I>a<I>a