}
catch (UnknownAssetException $e) {
// unexpected error, log and continue
- Civi::log()->error('Unexpected error while rendering a file in the AssetBuilder');
+ \Civi::log()->error('Unexpected error while rendering a file in the AssetBuilder: ' . $e->getMessage(), ['exception' => $e]);
}
}
return $fileName;
/**
* Determine the local path of a cache file.
*
- * @param string|NULL $fileName
+ * @param string|null $fileName
* Ex: 'angular.abcd1234abcd1234.json'.
* @return string
* URL.
/**
* Determine the URL of a cache file.
*
- * @param string|NULL $fileName
+ * @param string|null $fileName
* Ex: 'angular.abcd1234abcd1234.json'.
* @return string
* URL.