apps/gallery/lib/Service/ConfigService.php
/**
	 * Builds the error message to send back when there is an error
	 *
	 * @fixme Missing translation
	 *
	 * @param ConfigException $exception
	 * @param Folder $folder the current folder
	 *
	 * @return array<array<string,string>,bool>
	 */
Builds the error message to send back when there is an error
@fixme Missing translation

@param ConfigException $exception
@param Folder $folder the current folder

@return array,bool>
Builds the error message to send back when there is an error @fixme Missing translation @param ConfigException $exception @param Folder $folder the current folder @return array bool >
private function buildErrorMessage($exception, $folder) {
		$configPath = $this->environment->getPathFromVirtualRoot($folder);
		$errorMessage = $exception->getMessage() . ". Config location: /$configPath";
		$this->logger->error($errorMessage);
		$config = ['error' => ['message' => $errorMessage]];
		$completionStatus = $this->completionStatus;
		foreach ($completionStatus as $key) {
			$completionStatus[$key] = true;
		}
		$this->completionStatus = $completionStatus;
		return [$config];
	}
private function buildErrorMessage ( $ exception , $ folder ) { $ configPath = $ this -> environment -> getPathFromVirtualRoot ( $ folder ) ; $ errorMessage = $ exception -> getMessage ( ) . " . Config location: / $ configPath " ; $ this -> logger -> error ( $ errorMessage ) ; $ config = [ 'error' => [ 'message' => $ errorMessage ] ] ; $ completionStatus = $ this -> completionStatus ; foreach ( $ completionStatus as $ key ) { $ completionStatus [ $ key ] = true ; } $ this -> completionStatus = $ completionStatus ; return [ $ config ] ; }
Builds the error message to send back when there is an error
 @fixme Missing translation
Builds the error message to send back when there is an error @fixme Missing translation