diff --git a/modules/aggregator2/lib/Aggregator.php b/modules/aggregator2/lib/Aggregator.php
index 0fc5b14b4764fe5631e2ea6c0bd03af78dd4a145..61ec7b003a34c9c3d71eccfbb2d213738fea1329 100644
--- a/modules/aggregator2/lib/Aggregator.php
+++ b/modules/aggregator2/lib/Aggregator.php
@@ -255,7 +255,6 @@ class sspmod_aggregator2_Aggregator {
 			SimpleSAML_Utilities::writeFile($expireFile, $expireInfo);
 		} catch (Exception $e) {
 			SimpleSAML_Logger::warning($this->logLoc . 'Unable to write expiration info to ' . var_export($expireFile, TRUE));
-			return $metadata;
 		}
 
 	}