UnexpectedValueException {#773
  #message: "There is no existing directory at "/opt/bitnami/apache2/htdocs/betatreeone/cp-staging/storage/logs" and its not buildable: Permission denied"
  #code: 0
  #file: "/var/www/html/webapp/cp-staging/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php"
  #line: 172
  trace: {
    /var/www/html/webapp/cp-staging/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:172 {
      Monolog\Handler\StreamHandler->createDir() …
      › if (false === $status && !is_dir($dir)) {    throw new \UnexpectedValueException(sprintf('There is no existing directory at "%s" and its not buildable: '.$this->errorMessage, $dir));}
    }
    /var/www/html/webapp/cp-staging/vendor/monolog/monolog/src/Monolog/Handler/StreamHandler.php:98 {
      Monolog\Handler\StreamHandler->write(array $record) …
      › }$this->createDir();$this->errorMessage = null;
    }
    /var/www/html/webapp/cp-staging/vendor/monolog/monolog/src/Monolog/Handler/RotatingFileHandler.php:119 {
      Monolog\Handler\RotatingFileHandler->write(array $record) …
      › 
      ›     parent::write($record);}
      arguments: {
        $record: array:8 [ …8]
      }
    }
    /var/www/html/webapp/cp-staging/vendor/monolog/monolog/src/Monolog/Handler/AbstractProcessingHandler.php:39 {
      Monolog\Handler\AbstractProcessingHandler->handle(array $record) …
      › 
      › $this->write($record);arguments: {
        $record: array:8 [ …8]
      }
    }
    /var/www/html/webapp/cp-staging/vendor/monolog/monolog/src/Monolog/Logger.php:344 {
      Monolog\Logger->addRecord($level, $message, array $context = []) …
      › while ($handler = current($this->handlers)) {    if (true === $handler->handle($record)) {        break;
      arguments: {
        $record: array:8 [ …8]
      }
    }
    /var/www/html/webapp/cp-staging/vendor/monolog/monolog/src/Monolog/Logger.php:712 {
      Monolog\Logger->error($message, array $context = []) …
      › {    return $this->addRecord(static::ERROR, $message, $context);}
      arguments: {
        $level: 400
        $message: "There is no existing directory at "/opt/bitnami/apache2/htdocs/betatreeone/cp-staging/storage/logs" and its not buildable: Permission denied"
        $context: array:1 [ …1]
      }
    }
    /var/www/html/webapp/cp-staging/vendor/laravel/framework/src/Illuminate/Log/Logger.php:176 {
      Illuminate\Log\Logger->writeLog($level, $message, $context) …
      › 
      ›     $this->logger->{$level}($message, $context);}
      arguments: {
        $message: "There is no existing directory at "/opt/bitnami/apache2/htdocs/betatreeone/cp-staging/storage/logs" and its not buildable: Permission denied"
        $context: array:1 [ …1]
      }
    }
    /var/www/html/webapp/cp-staging/vendor/laravel/framework/src/Illuminate/Log/Logger.php:87 {
      Illuminate\Log\Logger->error($message, array $context = []) …
      › {    $this->writeLog(__FUNCTION__, $message, $context);}
      arguments: {
        $level: "error"
        $message: "There is no existing directory at "/opt/bitnami/apache2/htdocs/betatreeone/cp-staging/storage/logs" and its not buildable: Permission denied"
        $context: array:1 [ …1]
      }
    }
    /var/www/html/webapp/cp-staging/vendor/laravel/framework/src/Illuminate/Log/LogManager.php:500 {
      Illuminate\Log\LogManager->error($message, array $context = []) …
      › {    $this->driver()->error($message, $context);}
      arguments: {
        $message: "There is no existing directory at "/opt/bitnami/apache2/htdocs/betatreeone/cp-staging/storage/logs" and its not buildable: Permission denied"
        $context: array:1 [ …1]
      }
    }
    /var/www/html/webapp/cp-staging/vendor/laravel/framework/src/Illuminate/Foundation/Exceptions/Handler.php:118 {
      Illuminate\Foundation\Exceptions\Handler->report(Exception $e) …
      ›     $e->getMessage(),    array_merge($this->context(), ['exception' => $e]));
      arguments: {
        $message: "There is no existing directory at "/opt/bitnami/apache2/htdocs/betatreeone/cp-staging/storage/logs" and its not buildable: Permission denied"
        $context: array:1 [ …1]
      }
    }
    /var/www/html/webapp/cp-staging/app/Exceptions/Handler.php:38 {
      App\Exceptions\Handler->report(Exception $exception) …
      › {    parent::report($exception);}
      arguments: {
        $e: UnexpectedValueException {#770 …}
      }
    }
    /var/www/html/webapp/cp-staging/vendor/laravel/framework/src/Illuminate/Foundation/Bootstrap/HandleExceptions.php:92 {
      Illuminate\Foundation\Bootstrap\HandleExceptions->handleException($e) …
      › 
      ›     $this->getExceptionHandler()->report($e);} catch (Exception $e) {
      arguments: {
        $exception: UnexpectedValueException {#770 …}
      }
    }
    Illuminate\Foundation\Bootstrap\HandleExceptions->handleException() {}
  }
}