rabbit_feature_flags: Report feature flags init error reason
[Why] `failed_to_initialize_feature_flags_registry` was a little too vague.
This commit is contained in:
		
							parent
							
								
									937ca915c9
								
							
						
					
					
						commit
						9802348683
					
				|  | @ -37,7 +37,9 @@ setup(#{feature_flags_file := FFFile}) -> | |||
|                       "Failed to initialize feature flags registry: ~tp", | ||||
|                       [Reason], | ||||
|                       #{domain => ?RMQLOG_DOMAIN_PRELAUNCH}), | ||||
|                     throw({error, failed_to_initialize_feature_flags_registry}) | ||||
|                     throw({error, | ||||
|                            {failed_to_initialize_feature_flags_registry, | ||||
|                             Reason}}) | ||||
|             end; | ||||
|         {error, Reason} -> | ||||
|             ?LOG_ERROR( | ||||
|  |  | |||
		Loading…
	
		Reference in New Issue