Skip to content

Commit

Permalink
Use sprintf.
Browse files Browse the repository at this point in the history
Standardize on this, makes messges easier to find when grepping.
  • Loading branch information
mrubinsk committed Sep 8, 2015
1 parent 4efe9a2 commit 77bed9e
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions framework/Core/lib/Horde/Core/ActiveSync/Driver.php
Expand Up @@ -520,8 +520,8 @@ protected function _getFolder($id, array $params = array())
return $folder;
}
}
$this->_logger->err('Folder ' . $id . ' unknown');
throw new Horde_ActiveSync_Exception('Folder ' . $id . ' unknown');
$this->_logger->err(sprintf('Folder %s unknown', $id));
throw new Horde_ActiveSync_Exception(sprintf('Folder %s unknown', $id));
}

// Non-Multiplexed non-email collection?
Expand Down

0 comments on commit 77bed9e

Please sign in to comment.